<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/util.tld" prefix="myutil" %>
<!DOCTYPE HTML>
<html>
  <head>
    <title>新增用户</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<link href = "/ecp/resources/css/default/base.css" rel = "stylesheet" type = "text/css"/>
    <script type="text/javascript" src="/ecp/resources/js/jquery-1.8.1.js"></script>
    <script type="text/javascript" src="/ecp/resources/js/tydic.js"></script>
    <script type="text/javascript" src="/ecp/resources/js/public.js"></script>
    <script type = "text/javascript">
         jQuery(function($) {
			dicPath = '/ecp/resources/css/default/images/';
		});
		
		function save(){
		   submitForm("addgoodform","/ecp/backstage/sys/role/saveUser.do");
		}
	</script>
  </head>
  
  <body>
      <myutil:munuPaht menueId='${param.menuId}' optName="新增用户"/>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="ico21">
					&nbsp;
				</td>
				<td class="tb">
					新增后台用户
				</td>
				<td class="ico4">
					&nbsp;
				</td>
			</tr>
		</table>
		<form id="addgoodform">
        <table width="100%" border="0" cellpadding="0" cellspacing="0"
				class="formTable ">
				<tbody>
				    <tr>
						<th width="15%">
							账户：
						</th>
						<td width="35%">
							 <input type="text" class="input120" name="account"   />
						</td>
						<th width="15%">
						         名称：
						</th>
						<td width="35%">
						   <input type="text" class="input120" name="name"   />
						</td>
					</tr>
					<tr>
						<th width="15%">
							电话：
						</th>
						<td width="35%">
							<input type="text" class="input120" name="phone"   />
						</td>
						<th width="15%">
							手机：
						</th>
						<td width="35%">
							  <input type="text" class="input120" name="mobile" value="${mobile}"  />
						</td>
					</tr>
					<tr>
						<th width="15%">
							备注：
						</th>
						<td width="35%">
							<input type="text" class="input120" name="remark" value="${remark}"  />
						</td>
						<th width="15%">
							角色：
						</th>
						<td width="35%">
							<select name = "roleId" size = "1" class = "input120" vtype = "pinteger,empty">
                                <option value="">--请选择--</option>
                                <c:forEach items="${rols}" var="rol">
                                   <option value="${rol['id']}">${rol['name']}</option>
                                </c:forEach>
                            </select>
						</td>
					</tr>
				</tbody>
			</table>
			</form>
			<table width="100%" border="0" cellspacing="0" cellpadding="0"
				class="mT5">
				<tr>
					<td height="30" align="center">
						<input name="btnSave" id="btnSave" type="button" class="btn1" value="提交"
							onClick="save();">
						<input type="button" value="返回" class="btn1" onclick="history.go(-1);"/>
					</td>
				</tr>
			</table>
      
  </body>
</html>